package com.aynu.MyConfig;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration//指明当前类为配置类，相当于<beans>
public class MyConfig {
    @Bean//将方法的返回值添加到容器中
    public void HelloService(){
        return ;
    }
}
